package com.hyb.mapper;

import com.hyb.pojo.Role;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface RoleMapper {
    List<Role> getAll();
    Role getById(int r_id);
    void deleteById(int r_id);
    void addAll(String r_name);
    void updateById();
}
